/**
 * Created by Mak on 2017/9/1.
 */
@import "../common";

$menu-width: 120px;

@mixin menu-icon {
  padding: 0px;
  display: block;
  height: 50px;
  padding: 10px;
  width: $menu-width;
  color: $color-white;
  text-align: center;
  border: none;
  i {
    margin-top: -6px;
    font-size: 22px;
    display: block;
  }
  span {
    display: block;
    height: 30px;
    width: $full;
    font-weight: bold;
    font-size: 12px;
    line-height: 30px;
  }
  &:hover {
    background-color: $color-blue !important ;
    color: $color-yellow !important;
    border-bottom:none !important;
  }
  &.is-active{
    color: $color-yellow;
  }
  .el-menu--horizontal{
    .el-menu-item.is-active {
      border: none;
    }
  }
}
.el-container{
  width: $full;
  height: $full;
  .el-aside{
    height: $full;
    background-color: #1b1b1b;
    .logo_box{
      height: 102px;
      border-bottom: 1px solid #2c2c2c;
      box-shadow: 0 -1px 1px 0 #121212;
      text-align: center;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 0;
      align-content: center;
      color: #fff;
      font-size: 36px;
    }
  }
  .el-header{
    width: $full;
    height: 49px !important;
    padding: 0;
  }
  .el-main{
    height: calc(100% - 60px);
    padding: 0;
    background-color: #f7f7f7;
    .content_wrap{
      height:calc(100% - 35px);
    }
  }
}

